package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 产品图片表
 * </p>
 *
 * @author 小飞
 * @since 2019-06-27
 */
@TableName("product_pic")
public class ProductPic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图片路径
     */
    @TableField("pic_path")
    private String picPath;

    /**
     * 图片跳转路径
     */
    @TableField("pic_url")
    private String picUrl;

    /**
     * 产品编号id
     */
    @TableField("product_order_id")
    private Long productOrderId;




    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Long getProductOrderId() {
        return productOrderId;
    }

    public void setProductOrderId(Long productOrderId) {
        this.productOrderId = productOrderId;
    }

    @Override
    public String toString() {
        return "ProductPic{" +
        "id=" + id +
        ", picPath=" + picPath +
        ", picUrl=" + picUrl +
        ", productOrderId=" + productOrderId +
        "}";
    }
}
